package com.thz.friend.service.exam;

import com.thz.common.core.pojo.TableDataInfo;
import com.thz.friend.pojo.exam.dto.ExamQueryDTO;
import com.thz.friend.pojo.exam.dto.ExamRankDTO;
import com.thz.friend.pojo.exam.vo.ExamVO;

import java.util.List;

/**
 * @Description
 * @Author thz
 * @Date 2025/3/27
 */
public interface IExamService {
    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    TableDataInfo redisList(ExamQueryDTO examQueryDTO);

    String getFirstQuestion(Long examId);

    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);

    TableDataInfo rankList(ExamRankDTO examRankDTO);

    List<ExamVO> listHomework(Long courseId);
}
